<form action="" class="layui-form layui-form-pane">

    <div class="layui-form-item">
        <label class="layui-form-label">总计</label>
        <div class="layui-input-inline">
            <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off"readonly value="{$shuliang.all}" class="layui-input">
        </div>
        <label class="layui-form-label">当日数量</label>
        <div class="layui-input-inline">
            <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" readonly value="{$shuliang.day}" class="layui-input">
        </div>
    </div>
</form>
<table class="layui-table edit-table" lay-data="{cellMinWidth: 80,
    url:'{:url('getorder')}',page: true}" lay-filter="edit-table" data-url="{:url('editPermissions')}" data-key="permission_id">
    <thead>
    <tr>
        <th lay-data="{field:'order_id', width:80, sort: true}">ID</th>
        <th lay-data="{field:'comewhere',sort: true,width:200}">来源</th>
        <th lay-data="{field:'name', edit:'number', sort: true}">公司名称</th>
        <th lay-data="{field:'phone',sort: true,width:200}">电话</th>

        <th lay-data="{field:'son_name',sort: true,width:200}">所属子账号</th>
        <th lay-data="{field:'create_time',sort: true,width:200}">提交时间</th>
        <th lay-data="{toolbar: '#manipulate', minWidth:200, fixed: 'right'}">操作</th>
    </tr>
    </thead>
</table>

<script type="text/html" id="manipulate">

    <a href="{:url('change')}?id={{d.order_id}}" class="layui-btn layui-btn-sm" >更改分配</a>

    <a href="{:url('hdelete')}?id={{d.order_id}}" class="layui-btn ajax-delete layui-btn-sm layui-btn-danger" data-msg="确定删除？">删除</a>

</script>